package com.jr.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class ParkingRecords {
    private Integer id;
    private Integer vehicleId;
    private Integer parkingSpaceId;
    private Date entryTime;
    private Date exitTime;
    private Integer duration;//停车时长
    private Integer status;
    private Integer createdBy;//操作员Id
    private Date createdAt;
    private Date updatedAt;
}
